package com.usian.service;

import com.usian.common.vo.QuestionsVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @projectName: day05_mohongwei_parent
 * @package: com.jiyun.service
 * @className: QuestionsFeignService
 * @author: 莫洪维
 * @email: 1204315800@qq.com
 * @description: TODO
 * @date: 2023/8/8 11:19
 */
@FeignClient(value = "day10Questions")
public interface QuestionsFeignService {

    //查询所有方法
    @RequestMapping(value = "/questions/findAll2",method = RequestMethod.GET)
    public List<QuestionsVO> findAll();
}
